#!/bin/bash
IP_AREA=192.168.1
i=0
for(( i = 1; i < 255; i++))
do
{
     ping ${IP_AREA}.${i} -c 1 -w 1 > /dev/null
    if [ `echo $?` -eq 0 ]
    then
        echo ${IP_AREA}.${i}
    fi
}&
done
wait
